<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
</head>
<body style="width: 100%;height: 100%;display: flex;justify-content: center;align-content: center" th:each="cs:${editOne}">
<form style="width: 70%" th:action="@{/up/{id}(id=${cs.getId()})}" method="post">
    <div class="mb-3">
        <label for="exampleInputEmail1" class="form-label">名字</label>
        <input type="text" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" name="name" th:value="${cs.name}">
    </div>
    <div class="mb-3">
        <label  class="form-label">年龄</label>
        <input type="number" class="form-control"  name="age" th:value="${cs.age}">
    </div>
    <div class="mb-3">
        <label  class="form-label">性别</label>
        <input type="text" class="form-control"  name="gender" th:value="${cs.gender}">
    </div>
    <div class="mb-3">
        <label class="form-label">工资</label>
        <input type="number" class="form-control"  name="money" th:value="${cs.money}">
    </div>
    <div class="mb-3">
        <label class="form-label">工作</label>
        <input type="text" class="form-control"  name="job" th:value="${cs.job}">
    </div>
    <button type="submit" class="btn btn-primary">修改</button>
</form>
</body>
</html>